<?php /* Smarty version 2.6.18, created on 2008-06-22 18:38:21
         compiled from login.index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', '_', 'login.index.tpl', 5, false),)), $this); ?>
<div id="login">
	<h1>Login</h1>
	<div>
		<form action="index.php?c=login&a=submit" method="post">
		<p><?php echo translate(array('t' => 'Email'), $this);?>
</p>
		<img src="../public/icons/login.png" />
		<input type="text"     name="mail" class="<?php if ($this->_tpl_vars['errors']['mail']): ?>error<?php endif; ?>" value="<?php echo $this->_tpl_vars['login_user']->mail; ?>
"/>
		<p><?php echo translate(array('t' => "Contrase&ntilde;a"), $this);?>
</p>
		<input type="password" name="pswd" class="<?php if ($this->_tpl_vars['errors']['pswd']): ?>error<?php endif; ?>" />
		<p><input type="submit" value="<?php echo translate(array('t' => 'Ingresar'), $this);?>
" /></p>
		</form>
	</div>
</div>

<?php echo '
<style type="text/css">
BODY    { background:#eee; font-family:Trebuchet ms; margin:auto; margin-top:0px; color:#333; }
H1    	{ padding:5px; padding-left:10px; color:#fff; background:#8F2831; margin:0px;  font-size:20px;}
P				{ display:block; margin:10px 0px 5px 0px; font-size:14px; font-weight:bold; }
IMG			{ float:right;}
#login  { margin:auto; margin-top:50px; width:400px; background:#fff;}
#login DIV {padding:10px;}
#login INPUT {border:1px solid #ddd;}
#login INPUT.error {border:1px solid #8F2831;}

</style>
'; ?>
